export function addArr(arr){
    // [1,2,3,4,5]
    let result = 0;
    arr.forEach(item => {
        result+=item
    });
    return result
}